Gets the minute of the datetime represented by this instance
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(DateTime), | intent(in) | :: | time |
FUNCTION GetMinute & ! (time) & ! RESULT (minute) IMPLICIT NONE ! Arguments with intent(in): TYPE (DateTime), INTENT(IN) :: time ! Local variables: INTEGER (KIND = short) :: minute !------------end of declaration------------------------------------------------ minute = time % minute END FUNCTION GetMinute